package com.twetec.cms.common.constant;

/**
 * @Author: zhaichangzheng
 * @Date: 2022/2/9 19:47 （日期和时间）
 */
public enum CmsSiteModelPerMissionEnum {

    CREATE("模型-新增模型", "article-model:create"),
    BATCH_REMOVE("模型-批量删除模型", "article-model:delete-by-ids"),
    REMOVE("模型-删除模型", "article-model:delete-by-id"),
    EDIT("模型-编辑模型", "article-model:update-by-id"),
    DETAIL("模型-获取详情", "article-model:get-by-id"),
    PAGE("模型-列表", "article-model:page-search-list");


    private String value;

    private String name;

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    CmsSiteModelPerMissionEnum(String name, String value) {
        this.value = value;
        this.name = name;
    }
}
